-
Home
-
All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic
-
4.3.1.1
-
Code
-
Classes
- RobotsTxt
Total Complexity |
90 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
574 |
Lines of code |
328 |
Logical lines of code |
189 |
Comment lines |
161 |
Methods |
19 |
Properties |
0 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
mergeRulesHelper() |
A |
44 |
12 |
43 |
prepareRobotsTxt() |
A |
51 |
12 |
27 |
extractRules() |
A |
49 |
9 |
30 |
stringify() |
S |
52 |
7 |
25 |
importPhysicalRobotsTxt() |
S |
53 |
5 |
23 |
buildRules() |
S |
55 |
5 |
19 |
robotsArrayUnique() |
S |
61 |
5 |
12 |
mergeRules() |
S |
53 |
4 |
24 |
rewriteRulesExist() |
S |
60 |
4 |
14 |
extractSitemapUrls() |
S |
60 |
4 |
13 |
checkForPhysicalFiles() |
S |
51 |
3 |
26 |
__construct() |
S |
67 |
4 |
7 |
sanitizePath() |
S |
63 |
4 |
10 |
parseRules() |
S |
60 |
3 |
14 |
hasPhysicalRobotsTxt() |
S |
62 |
3 |
12 |
getDefaultRobots() |
S |
62 |
2 |
11 |
deletePhysicalRobotsTxt() |
S |
66 |
2 |
8 |
getDefaultRules() |
S |
76 |
1 |
4 |
getSitemapRules() |
S |
70 |
1 |
6 |